<?php
//print_r($listpgraphassigned);
//print_r($listpgraphshowdone);
//print_r($listpgraphpicasa);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/text.css" />
<link rel="stylesheet" href="css/960_24_col.css" />
 <link rel="stylesheet" href="css/jquery-ui-1.8.21.custom.css" />
 <link rel="stylesheet" href="css/style.css" />
 <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
 <script type="text/javascript" src="js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
</head>

<body>
	<div class="principal container_24 listclient">
		
		<!--logo-->
		<div class="logo grid_24">
			<div class="grid_1">&nbsp;</div>
			<div class="grid_4 logoimage">LOGO</div>
			<div class="logout grid_5"><a href="index.php?loginprocess/loginout"><img src="img/bt_logout.jpg"/></a></div>
		</div><!-- end logo-->
		
		<!--menupricipal-->
		<div class="menuprincipal grid_24">
			
		</div>
		<!-- end menupricipal-->
				
			<div class="descprincipal grid_22 ">
				description
			</div>
			
			<div class="grid_24 listcontent detail">
				<h1>List des  Taches </h1>
				
				<div class="grid_24 top">
					
				</div>
			
					
			<div class="grid_24 detaillist datagrid">
			<h2>photoshow assigned</h2>
				<table>
				
				<thead><tr><th>VENDEUR</th><th>NOM<BR/>COMPAGNIE</th><th>ADRESSE</th><th>TELEPHONE</th><th>VILLE</th><th>START<BR/>TIME</th><th>END<BR/>TIME</th><th>COMMENTAIRE</th><th>FORFAIT</th><th>STATUS</tr></thead>
				<tbody>
				
				<?php 
				$color=1;
				foreach ($listpgraphassigned as $lc){ 
				?>
				<tr class="<?php if($color%2==0) echo "paire"; else echo "impaire";?>">
				<td><?php echo $lc["username"]?>	</td>
				<td><?php echo $lc["companyname"]?>	</td>
				<td><?php echo $lc["address"]?></td><td><?php echo $lc["tele"]?></td><td><?php echo $lc["city"]?></td><td><?php echo $lc["starttime"]?></td><td><?php echo $lc["endtime"]?></td>
				<td><?php echo $lc["coments"]?></td><td><?php echo $lc["forfaitname"]."-".$lc["prix"]?></td>
				<td>
					<form action="index.php?gphotograph/actionsatusshooting" method="post">
						<input type="hidden" name="idshooting" value="<?php echo $lc["idshooting"]?>"/>
						<select name="statusshooting_idstatusshooting">
							<option value=2>Photo Show Done</option>
							<option value=3>Picasa Ready</option>
						</select>
						<input type="submit" name="assign" value="Change">
					</form>
					
					</td>	
				
				</tr>
					
				<?php
				 	$color++;
					}
				 ?>
				</tbody>
			</table>
			
			
			</div>
			
				
			<div class="grid_24 detaillist datagrid">
		<h2>Photo Show Done</h2>
			<table>
				
				<thead><tr><th>VENDEUR</th><th>NOM<BR/>COMPAGNIE</th><th>ADRESSE</th><th>TELEPHONE</th><th>VILLE</th><th>START<BR/>TIME</th><th>END<BR/>TIME</th><th>COMMENTAIRE</th><th>FORFAIT</th><th>STATUS</tr></thead>
				<tbody>
				
				<?php 
				$color=1;
				foreach ($listpgraphshowdone as $lc){ 
				?>
				<tr class="<?php if($color%2==0) echo "paire"; else echo "impaire";?>">
				<td><?php echo $lc["username"]?>	</td>
				<td><?php echo $lc["companyname"]?>	</td>
				<td><?php echo $lc["address"]?></td><td><?php echo $lc["tele"]?></td><td><?php echo $lc["city"]?></td><td><?php echo $lc["starttime"]?></td><td><?php echo $lc["endtime"]?></td>
				<td><?php echo $lc["coments"]?></td><td><?php echo $lc["forfaitname"]."-".$lc["prix"]?></td>
				<td>
					 <form action="index.php?gphotograph/actionsatusshooting" method="post">
						<input type="hidden" name="idshooting" value="<?php echo $lc["idshooting"]?>"/>
						<select name="statusshooting_idstatusshooting">
							<option value=1>reshooting</option>
							<option value=3>Picasa Ready</option>
						</select>
						<input type="submit" name="assign" value="Change">
					</form>
					
					</td>	
				
				</tr>
					
				<?php
				 	$color++;
					}
				 ?>
				</tbody>
			</table>
			</div>
			
			
			<div class="grid_24 detaillist datagrid">
		<h2>Picasa Ready</h2>
			<table>
				
				<thead><tr><th>VENDEUR</th><th>NOM<BR/>COMPAGNIE</th><th>ADRESSE</th><th>TELEPHONE</th><th>VILLE</th><th>START<BR/>TIME</th><th>END<BR/>TIME</th><th>COMMENTAIRE</th><th>FORFAIT</th><th>STATUS</th></thead>
				<tbody>
				
				<?php 
				$color=1;
				foreach ($listpgraphpicasa as $lc){ 
				?>
				<tr class="<?php if($color%2==0) echo "paire"; else echo "impaire";?>">
				<td><?php echo $lc["username"]?>	</td>
				<td><?php echo $lc["companyname"]?>	</td>
				<td><?php echo $lc["address"]?></td><td><?php echo $lc["tele"]?></td><td><?php echo $lc["city"]?></td><td><?php echo $lc["starttime"]?></td><td><?php echo $lc["endtime"]?></td>
				<td><?php echo $lc["coments"]?></td><td><?php echo $lc["forfaitname"]."-".$lc["prix"]?></td>
				<td>
					 <form action="index.php?gphotograph/actionsatusshooting" method="post">
						<input type="hidden" name="idshooting" value="<?php echo $lc["idshooting"]?>"/>
						<select name="statusshooting_idstatusshooting">
							<option value=1>reshooting</option>
							<option value=2>Photo Show Done</option>
						</select>
						<input type="submit" name="assign" value="Change">
					</form>
					
					</td>	
				
				</tr>
					
				<?php
				 	$color++;
					}
				 ?>
				</tbody>
			</table>
			</div>
				
		</div>
	</div><!--end principal-->
</body>
</html>